package com.example.emos.wx.service;

import com.example.emos.wx.entity.TbUser;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;

public interface UserService {

     int registerUser(String registerCode, String code, String nickname, String photo);

     Set<String> searchUserPermissions(int userId);

     int login(String code);

     TbUser searchById(int userId);

     String searchUserHiredate(int userId);

     HashMap searchUserSummary(int userId);

     ArrayList<HashMap> searchUserGroupByDept(String keyword);

     ArrayList<HashMap> searchMembers(List param);

     List<HashMap> selectUserPhotoAndName(List param);
}
